package com.dcy.znoa.controller.publiz.model.department;

/**
 * Created by pengyu on 2017/10/10.
 */

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class AddDepartmentModel {
    @NotNull
    String depName;//dep_name
    @NotNull
    Integer depLevel;//dep_level

    Integer depType;//dep_type 1为部门，2为分公司，为二期预留

    @NotNull
    Long pDepId;//p_dep_id

    String pDepName;//p_dep_name
    @NotNull
    Long compId;//comp_id

    String compName;//comp_name

    String contactMan;//contact_man

    Long createOperId;

    Date createTime = new Date();

    Integer validFlag = 1;

}
